package cn.uniqueinfo.dp.mapper;

import cn.uniqueinfo.dp.vo.UserRoleVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author:朱元勋
 * @mail:395910063@qq.com
 * @date:2019-01-05 11:03:31
 * @description: 用户角色对应
 */
@Mapper
@Component
public interface UserRoleMapper extends BaseMapper<UserRoleVO> {
    List<UserRoleVO> findByUid(@Param(value = "uid") Long uid);

    Integer deleteByUid(@Param(value = "uid") Long uid);
}
